package com.wl.lib.extension

import com.wl.lib.utils.ApplicationHelper


// Created by wangliang on 2024/4/26.
val Int.dp: Int
    inline get() = (this * ApplicationHelper.getInstance().resources.displayMetrics.density).toInt()

val Float.dp: Float
    inline get() = this * ApplicationHelper.getInstance().resources.displayMetrics.density